package demo08.Facade_pattern.entity;

/**
 * 投影机
 * */
public class Projector {
	String description;
	DvdPlayer dvdPlayer;
	
	public Projector(String description, DvdPlayer dvdPlayer) {
		this.description = description;
		this.dvdPlayer = dvdPlayer;
	}
 
	public void on() {
		System.out.println(description + " 打开");
	}
 
	public void off() {
		System.out.println(description + " 关闭");
	}

	public void wideScreenMode() {
		System.out.println(description + " 在宽屏模式（16x9宽高比）");
	}

	public void tvMode() {
		System.out.println(description + " 在电视模式（4×3方面比）");
	}
  
        public String toString() {
                return description;
        }
}
